import request from "@/utils/request";

export function getPageDataApi(data) {
  return request({
    url: "/api/system.package/index",
    method: "post",
    data: data,
  });
}

export function getPackageListApi(data) {
  return request({
    url: "/api/system.package/getList",
    method: "post",
    data: data,
  });
}

export function readApi(data) {
  return request({
    url: "/api/system.package/read",
    method: "post",
    data: data,
  });
}

export function createApi(data) {
  return request({
    url: "/api/system.package/create",
    method: "post",
    data: data,
  });
}

export function saveApi(data) {
  return request({
    url: "/api/system.package/save",
    method: "post",
    data: data,
  });
}

export function deleteApi(data) {
  return request({
    url: "/api/system.package/delete",
    method: "post",
    data: data,
  });
}


